<div class='formEntry'>
     	<h2>Upload Extra Product Pictures</h2>

		<div class='pBody' id='idUploadForm'>
		<?
		echo StartForm("EnterProductPictures", "post", "actUploadPicture",array('intProductID'=>$intProductID),"","multipart/form-data",$strFormName,"","return frmUploadPicture_onsubmit()");
		?>
		<h3>upload page pictures</h3>
		<p>Browse your PC and select individual photos you wish to upload, the
		software will then resize and save them to the server. Please select
		the Item you wish to allocate to it by selecting from the dropdown
		list. You can select up to 10 pictures  If you have uploaded
		a picture you wish to change just select the correct number from the
		list and upload the new one.</p>
		

		
		<select name="cboPicture">
			<option value="1">Picture 1</option>
			<option value="2">Picture 2</option>
			<option value="3">Picture 3</option>
			<option value="4">Picture 4</option>
			<option value="5">Picture 5</option>
			<option value="6">Picture 6</option>
			<option value="7">Picture 7</option>
			<option value="8">Picture 8</option>
			<option value="9">Picture 9</option>
			<option value="10">Picture 10</option>
		</select> 
		
		<input type="file" name="txtUploadedPicture"
			value="<? echo $txtUploadedPicture ?>" size="50" maxlength="50"/>&nbsp;
		<input type='image' src='/images/save.gif' alt='save' />
		<?
		//set image paths the call routine to list jpgs within the chosen directory
		$strDefaultPath 	= "./images/product/";
		$strThumbPath		= "./images/product/thumbz/";

		?>
		<table width='695' border='0'>
			<tr>
				<td>
					<?php
						include(MODULE."/action/actListJpgsInDir.php");
					?>
				</td>
			</tr>
		</table>
		
		</form>
		</div>